package com.atguigu.es.demo.bean;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
public class Attr {
    @Field(type = FieldType.Keyword )
    private String brand;
    @Field(type = FieldType.Keyword )
    private String category;
}
